#include "Thread.h"

Thread::Thread() {}
Thread::~Thread() {
}

void Thread::start() {
	pthread_create(&thread, 0, &run, this);
}

void Thread::stop() {
	pthread_join(thread, NULL);
}

void* Thread::run(void* arg) {
	Thread* t = (Thread*)arg;
	t->ejecutar();
	return NULL;
}

void Thread::ejecutar() {}
